package com.zhw.goshopping.service;

import com.zhw.goshopping.common.pojo.EasyUIDataGridResult;
import com.zhw.goshopping.common.pojo.GoShoppingResult;
import com.zhw.goshopping.pojo.TbItem;
import com.zhw.goshopping.pojo.TbItemDesc;

/**
 * Create by zhaihongwei on 2018/3/17
 */
public interface ItemService {

    // 根据id查询商品
    TbItem getItemById(long itemId);
    // 分页查询商品信息
    EasyUIDataGridResult getItemList(int page , int rows);
    // 添加商品信息
    GoShoppingResult addItem(TbItem item,String desc);
    // 根据id查询商品描述信息
    TbItemDesc getItemDescById(long itemId);

}
